# $Id: PKGBUILD 65833 2012-02-22 12:52:53Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-gettext
pkgver=0.01
pkgrel=6
pkgdesc="Perl/CPAN Module Gettext"
arch=('any')
url="http://search.cpan.org/~jbriggs/Gettext/"
license=("GPL" "PerlArtistic")
options=(!emptydirs)
source=("http://www.cpan.org/authors/id/J/JB/JBRIGGS/Gettext-0.01.tar.gz")
md5sums=('4dcd26e2f02595310bda1c952633b8db')

build() {
  cd $srcdir/Gettext-0.01
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
